package com.opennews.openplatform.familyexpenseapi.dto.journey

import com.opennews.openplatform.myspringbootcore.dto.IdentityDto
import jakarta.validation.constraints.NotNull
import java.time.LocalDateTime

abstract class BaseJourneyDto {
    @field:NotNull(message = "region can't be null")
    lateinit var region: IdentityDto

    @field:NotNull(message = "startDate can't be null")
    lateinit var startDate: LocalDateTime

    @field:NotNull(message = "endDate can't be null")
    lateinit var endDate: LocalDateTime
}
